import { createStore } from 'vuex'
import app, { AppState } from './modules/app'
import tagsView, { TagsViewState } from './modules/tagsView'
import getters from './getters'

export interface RootState {
  app: AppState
  tagsView: TagsViewState
}

export default createStore({
  getters,
  modules: {
    app,
    tagsView
  }
})
